home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: Initialising structure members - help please!
- Date: 23 Feb 96 02:03:34 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.825041014@rscernix>
- References: <4gb8hn$3m8@news.mistral.co.uk> <4gflijINN8hi@keats.ugrad.cs.ubc.ca> <TANMOY.96Feb22091936@qcd.lanl.gov>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <TANMOY.96Feb22091936@qcd.lanl.gov> tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya) writes:
-
- >In article <4gflijINN8hi@keats.ugrad.cs.ubc.ca> c2a192@ugrad.cs.ubc.ca
- >(Kazimir Kylheku) writes:
- ><snip>
- >cKK: Your compiler's message is not strictly correct. The left side of the
- >cKK: expression _is_ an lvalue, because it refers to an object, and it is
- >cKK: addressable. But it is not a _modifiable_ lvalue. Like an array,
- >a function is
- >cKK: also an lvalue, but it isn't modifiable:
- >cKK:
- >cKK: [Assignment Expressions] require an lvalue as a left operand, and the
- >cKK: lvalue must be modifiable: it must not be an array, and must not have
- >cKK: an incomplete type, or be a function. (K&R2 A7.17)
- >
- >Hmmm... my quoting style is now less readable but hopefully less
- >confusing?
-
- It looks awful. Why don't you quote like anybody else? If you have some
- stupid posting software which restricts the amount of quoted text, simply
- use ':' or '#' instead of the standard '>'. It will be considerably less
- confusing.
-
- Just my $0.02,
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-